package com.jichaoyun.dao.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.jichaoyun.model.entity.ParaAlarm;
import com.jichaoyun.model.vo.AlarmVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author ljc
* @description 针对表【paraAlarm】的数据库操作Mapper
* @createDate 2023-11-29 16:10:22
* @Entity com.jichaoyun.model.entity.Paraalarm
*/
@Mapper
public interface ParaAlarmMapper extends BaseMapper<ParaAlarm> {

    IPage<List<AlarmVo>> selectParaAlarmPage(IPage<List<AlarmVo>> page,
                                             @Param("start_time") String startTime,
                                             @Param("start_time") String endTime,
                                             @Param("line_id") Integer line_id);

    ParaAlarm selectRecentOne(@Param("stationNo") int stationNo);

    List<AlarmVo> selectList4(List<Integer> stationNoList);
    List<AlarmVo> selectList0();
    List<AlarmVo> selectList1();
    List<AlarmVo> selectList2(List<Integer> stationNoList);
    List<AlarmVo> selectList3(List<Integer> stationNoList,String startTime,String endTime);
}




